package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/*交易通知*/
@Data
public class SynchronizationDataDTO {
    /*系统时间*/
    private String host_time;
    /*系统日期*/
    private String host_date;
    /*系统商户号*/
    private String merchant_no;
    /*系统终端号*/
    private String terminal_no;
    /*交易卡号(脱敏)*/
    private String pan;
    /*交易金额（元）*/
    private Double amnount;
    /*交易手续费（元）*/
    private Double addi_amount;
    /*手续费名称*/
    private String fee_name;
    /*卡类型(注1)*/
    private int card_type;
    /*交易编码(注2)*/
    private int trans_type;
    /*输入方式(注3)*/
    private String enter_mode;
    /*SN*/
    private String pos_sn;
    /*POS流水号*/
    private String pos_trace;
    /*渠道交易日期*/
    private String chl_date;
    /*渠道交易时间*/
    private String chl_time;
    /*渠道终端号*/
    private String chl_merchant_name;
    /*渠道商户号*/
    private String chl_merchant_no;
    /*渠道终端号*/
    private String chl_terminal_no;
    /* 参考号*/
    private String retrirefnum;
    /* 授权码*/
    private String auth_code;
    /*交易状态(注4)*/
    private String host_ret_code;
    /*清算状态(注4)*/
    private String acq_ret_code;
    /*银行代码*/
    private String bank_code;
    /*入账人身份证（脱敏）*/
    private String acq_certificate;
    /*入账人*/
    private String acq_name;
    /*入账卡号（脱敏）*/
    private String acq_account_no;
    /*扫码商户号*/
    private String scan_merchant_no;
    /*扫码门店号*/
    private String scan_mch_id;
    /*订单编号*/
    private String order_no;
    /*平台订单编号*/
    private String platform_no;

    private String uuid;
    /* 是否偷单标识 */
    private int whetherSteal;
    /* 商户merchId  */
    private Long merchId;
    /* 商户parentId */
    private Long parentId;
    /* 流量费收取 */
    private int tran_sim;
    /* 流量费收取金额 */
    private int sim_amt;

    /*机构编码*/
    private String orgncode;
    /* 机构名称 */
    private String orgnname;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hostDate;

    /*是否特殊*/
    private Integer isSpecial;
    /*原费率名称*/
    private String oldFeeName;
    /*原手续费*/
    private String oldSimAmt;
    //原费率
    private String actualFeeName;
    //原手续费
    private Double actualAddiAmount;
    //静默数据类型
    private String silenceType;
    //是否是二次更新处理
    private String isSecondExecute;
    @TableField(exist = false)
    private String transUuid;
    private String zptUuid;//关联总平台数据
    private String notice_type;
    private String new_order_no;
    private String textra_amt;
    private String channel;
    // 商户名头
    private String cupsName;
}
